package com.ruoyi.web.controller.vantController.customerController;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.supe.TerraceTel;
import com.ruoyi.system.service.customer.TerraceTelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/api/terrace/tel")
public class ApiTerraceTelController extends BaseController {

    @Autowired
    private TerraceTelService terraceTelService;

    @GetMapping("/list")
    public List<TerraceTel> list(TerraceTel terraceTel)
    {
        List<TerraceTel> list = terraceTelService.selectTerraceTelList(terraceTel);
        return list;
    }
}
